:root {
    --primary: #B39755;
    --primary-light: #d6c7a0;
    --primary-dark: #9a8249;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --darker-gray: #495057;
    --secondary: #1a2a3a;
    --success: #28a745;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    --gradient: linear-gradient(135deg, #B39755, #9a8249);
    --section-radius: 18px;
    --blue-gradient: linear-gradient(135deg, #1a2a3a, #2c3e50);
    --gold-gradient: linear-gradient(135deg, #c5a338, #b39755);
    --dark: #212529;
    --light: #f8f9fa;
    --gold-primary: #c5a338;
    --gold-hover: rgba(197, 163, 56, 0.12);
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(179, 151, 85, 0.05) 0%, rgba(255, 255, 255, 0) 30%);
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 12px 5%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        background 0.4s ease;
    z-index: 1000;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.96);
    position: sticky;
    top: 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: var(--text-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.navbar-brand:hover {
    color: var(--gold-primary);
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-nav {
    gap: 4px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-secondary);
    padding: 10px 18px;
    transition: color 0.25s ease,
        background 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.2s ease;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-primary);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-nav .nav-link:hover {
    color: var(--text-primary);
    background: var(--gold-hover);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--gold-primary) !important;
    font-weight: 700;
    background: var(--gold-hover);
    box-shadow: inset 0 0 0 1px rgba(197, 163, 56, 0.25);
}

.navbar-nav .nav-link.active::before {
    transform: scaleY(0.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a2a3a, #2c3e50);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--gold-gradient);
    color: white;
    padding: 16px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(179, 151, 85, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9a8249, #c5a338);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(179, 151, 85, 0.6);
}

.cta-button:hover::before {
    opacity: 1;
}

.main-content {
    background: white;
    padding: 80px 0;
}

.section {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section p.subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 30px auto 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(179, 151, 85, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--gradient);
    transition: height 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.8rem;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(179, 151, 85, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--darker-gray);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.feature-card p {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Info Section */
.info-section {
    background: linear-gradient(to bottom, #f9f8f5, #ffffff);
    padding: 80px 0;
    position: relative;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.03;
    z-index: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.info-item {
    background: white;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(179, 151, 85, 0.1);
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.info-item h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.info-item h4 i {
    margin-right: 12px;
    color: var(--primary);
}

.info-item ul {
    list-style: none;
    padding-left: 0;
}

.info-item li {
    padding: 12px 0;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px dashed rgba(179, 151, 85, 0.1);
}

.info-item li:last-child {
    border-bottom: none;
}

.info-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Application Form */
.application-form {
    background: linear-gradient(135deg, #1a2a3a, #2c3e50);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.application-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.15;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 3.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.form-container h2 {
    color: white;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    text-align: left;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--darker-gray);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(179, 151, 85, 0.3);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.submit-btn {
    background: var(--gold-gradient);
    color: white;
    padding: 16px 45px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(179, 151, 85, 0.4);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9a8249, #c5a338);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(179, 151, 85, 0.6);
}

.submit-btn:hover::before {
    opacity: 1;
}

/* Footer */
.footer-dark {
    background-color: var(--secondary);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.social-icon {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .section h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .info-item {
        padding: 25px 20px;
    }

    .form-container {
        padding: 1.5rem;
    }
}